namespace Prologis.ShifterNT.Tokenizer
{

    public class NullTokenizer : ITokenizer
    {


        public string FieldConfigPath { get; set; }
     
        FieldList fields;
        public FieldList Fields
        {
            get { return fields; }
            set { fields = value; }
        }


      
        public FieldList Tokenize(string sourceId, object data)
        {
            FieldList values = (FieldList)fields.Clone();
            string[] sa = (string[])data;
            for (int i = 0; i < values.Count; i++)
            {
                values[i].Value = sa[i];
            }
            return values;
        }

    }
}

